
package com.erp.common.voucher.dao;

import com.framework.api.DaoCRUDIF;
import com.erp.common.voucher.dao.model.FinVoucherBillR;
import com.erp.common.voucher.dao.model.FinVoucherBillRCO;

public interface FinVoucherBillRDao extends DaoCRUDIF<FinVoucherBillR, FinVoucherBillRCO>{
    
    //删除凭证与单据关联（根据凭证头code）
    public abstract void deleteFinVoucherBillRByVoucherHeadCode(String voucherHeadCode);
    
    //根据单据头code获取凭证头code
    public abstract String getVoucherHeadCodeByBillHeadCode(String billType, String billHeadCode);
    
    //是否存在关联付款的凭证
    public abstract boolean isExistVoucherRelateArPay(String headCode);
    
    //是否存在关联收款的凭证
    public abstract boolean isExistVoucherRelateArReceipt(String headCode);
    
}